using CodeIsBug.Models.Admin;

namespace CodeIsBug.Service.Services;

/// <summary>
/// 请求日志service
/// </summary>
/// <param name="sysLogVisRepository"></param>
public class SysLogVisService(SysLogVisRepository sysLogVisRepository)
{
    /// <summary>
    /// 保存请求参数日志信息
    /// </summary>
    /// <param name="sysLogVis"></param>
    /// <returns></returns>
    public async Task<int> AddSysLogVis(SysLogVis sysLogVis)
    {
        return await sysLogVisRepository.AddRequestLogAsync(sysLogVis);
    }
}